package com.cy3;

import java.util.HashSet;

public class HashSetDemo {
    public static void main(String[] args) {
        HashSet<String> hs = new HashSet<>();
        hs.add("s");
        hs.add("n");
        hs.add("h");
        hs.add("h");
        for (String h : hs) {
            System.out.println(h);
        }



    }
}
